/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdSceneMapStepModelRef;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统地图步骤-模型关联业务对象 isfd_scene_map_step_model_ref
 *
 * @author hxloongs
 * @date 2025-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdSceneMapStepModelRef.class, reverseConvertGenerate = false)
public class IsfdSceneMapStepModelRefBo extends BaseEntity {

    /**
     * 自增主键，唯一标识每一个记录
     */
    @NotNull(message = "自增主键，唯一标识每一个记录不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 系统地图步骤id
     */
    @NotNull(message = "系统地图步骤id不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long mapStepId;

    /**
     * 当前父模型id
     */
    @NotNull(message = "当前父模型id", groups = {AddGroup.class, EditGroup.class})
    private Long modelId;


    /**
     * 当前步骤要素库类型id
     */
    @NotNull(message = "当前步骤要素库类型id", groups = {AddGroup.class, EditGroup.class})
    private Long databaseTypeId;
}
